package com.md.api.entity;

import lombok.AccessLevel;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.FieldDefaults;

import java.util.Date;

@Getter
@Setter
@NoArgsConstructor
@FieldDefaults(makeFinal=false,level=AccessLevel.PROTECTED)
public class OperateLog {

	Long id;

	String userName;

	String unionId;

	String ip;

	String api;

	String content;

	Date createTime;

	public OperateLog(String userName, String unionId, String ip, String api, String content) {
		super();
		this.userName = userName;
		this.unionId = unionId;
		this.ip = ip;
		this.api = api;
		this.content = content;
	}
}
